package com.ctshk.rpc.order.custom.req.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;


/**
 * 可购买保险列表req
 */
@Data
@ApiModel(value="可购买保险列表req", description="可购买保险列表req")
public class CustomOrderInsuranceListReq implements Serializable {

    @NotNull(message = "团期ID不能为空")
    @ApiModelProperty(value = "团期ID",required = true)
    private Long scheduleId;

    @NotNull(message = "旅客ID集合不能为空")
    @ApiModelProperty(value = "旅客ID集合",required = true)
    private List<Long> touristList;

    @NotNull(message = "开始日期不能为空")
    @ApiModelProperty(value = "开始日期",required = true)
    private LocalDate beginDate;

    @NotNull(message = "结束日期不能为空")
    @ApiModelProperty(value = "结束日期",required = true)
    private LocalDate endDate;

}
